package model

import "gorm.io/gorm"

type Friend struct {
	gorm.Model
	UserId   int    `gorm:"int(11);not null;comment:用户id"`
	FriendId int    `gorm:"int(11);not null;comment:好友id"`
	Remark   string `gorm:"type:varchar(30);not null;comment:申请理由"`
	Status   string `gorm:"type:varchar(20);not null;comment: 1 同意 2 拒绝"`
}

type FriendList struct {
	User
	FriendId int `gorm:"int(11);not null;comment:好友id"`
}
